Skip to content

fix(config): default to latest version#159

Merged
avivkeller merged 1 commit into
mainfrom
doc-kit-default-latest
Jun 28, 2026
Merged

fix(config): default to latest version#159
avivkeller merged 1 commit into
mainfrom
doc-kit-default-latest

Conversation

@avivkeller

Copy link
Copy Markdown
Member

Ref: #149 shows v24.15.0 on the home page instead of the correct latest version.

@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webpack-doc-kit Ready Ready Preview, Comment Jun 28, 2026 2:20pm

Request Review

import { major } from 'semver';

import createTailwindReader from './tailwind.mjs';
import allVersions from '../../versions.json' with { type: 'json' };

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we do conditional import i.e. import the versions array only when VERSION is undefined

@avivkeller avivkeller merged commit 5979710 into main Jun 28, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants